package today.rocky.boot.sharding.mapper;
import org.springframework.stereotype.Repository;
import today.rocky.boot.sharding.entity.User;

/**
 * @Author: qingshan
 * @Description: 咕泡学院，只为更好的你
 */
@Repository
public interface UserMapper {

    void addOne(User user);

    User getOneById(long id);
}
